"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Component({
    // properties: {
    //     IFilterOption: Array,
    // },
    data: {
        IFilterOption: [
            {
                title: '类型',
                field: 'reportType',
                range: ['出校报备', '入校报备']
            },
            {
                title: '状态',
                field: 'reportStatus',
                range: ["通过", "院级审核", "校级审核", "退回"]
            }
        ],
        form: {}
    },
    methods: {
        onThisSubmit: function () {
            this.triggerEvent('onSubmit', this.data.form, {});
        },
        itemValueChange: function (_a) {
            var detail = _a.detail;
            this.setData({ form: __assign(__assign({}, this.data.form), detail) });
        }
    }
});
